package com.ssn.strategy.book;

public class NovelBookStrategy implements Strategy {
    @Override
    public double calculator(int count,double price) {
        if (count * price >= 100){
            return count * price - 15 * (int)(price * count / 100);
        }
        return price * count;
    }
}
